private int Create(ReleaseProfileResource resource) { return(_releaseProfileService.Add(resource.ToModel()).Id); }
public ActionResult <ReleaseProfileResource> Create(ReleaseProfileResource resource) { return(Created(_releaseProfileService.Add(resource.ToModel()).Id)); }