Ejemplo n.º 1
0
 public ApiResponseViewModel Create(CustomerType obj)
 {
     if (HttpContext.Current.Session["UserLogged"] == null)
     {
         return(CommonConstants.accessDenied);
     }
     return(_customerTypeService.Add(obj));
 }