public Task <ActionResult <StaffEndorsement> > Save([FromBody] StaffEndorsement staffEndorsement) { return(TryExecute(MyPolicies.peopleEdit, staffEndorsement.PersonId, () => { _endorsementService.Save(staffEndorsement); return staffEndorsement; })); }
public void Save(StaffEndorsement staffEndorsement) { _entityService.Save(staffEndorsement); }