public async Task <Premise> CreatePremises(Premise data) { return(await _premiseService.CreatePremise(data)); }
public async Task <Premise> CreatePremise([FromBody] Premise premise) { return(await _premiseService.CreatePremise(premise)); }
public async Task <Premise> CreatePremises(Premise data) { return(await _premiseService.CreatePremise(data)); }
public async Task <Premise> CreatePremise([FromBody] Premise premise) { return(await _premiseService.CreatePremise(premise)); }