Using YaStringLength and YaRequired
This commit is contained in:
parent
7d9495e326
commit
9457ba71d1
62 changed files with 396 additions and 150 deletions
15
src/Yavsc/ApiControllers/Blogspot/TestApiController.cs
Normal file
15
src/Yavsc/ApiControllers/Blogspot/TestApiController.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Microsoft.AspNet.Authorization;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
|
||||
namespace Yavsc.ApiControllers
|
||||
{
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Yavsc.Attributes.Validation;
|
||||
|
||||
[Authorize,Route("~/api/test")]
|
||||
public class TestApiController : Controller
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue