Exemple #1
0
 public HttpResponseMessage Ins(TagInsDTO dto)
 {
     if (dto != null)
     {
         using (repo)
             repo.Create(dto.Name);
         return(Request.CreateResponse(HttpStatusCode.OK));
     }
     return(Request.CreateResponse(HttpStatusCode.NoContent));
 }