예제 #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));
 }