Пример #1
0
 private int Create(ReleaseProfileResource resource)
 {
     return(_releaseProfileService.Add(resource.ToModel()).Id);
 }
Пример #2
0
 public ActionResult <ReleaseProfileResource> Create(ReleaseProfileResource resource)
 {
     return(Created(_releaseProfileService.Add(resource.ToModel()).Id));
 }