public async Task <Domain.Body> Delete(string bodyName) { Logger.LogTrace($"Delete {bodyName} invoked"); Domain.Body Body = await BodyBL.Delete(new BodyModel { BodyName = bodyName }); return(Body); }
public async Task <Domain.Body> Put(BodyModel putBody) { Logger.LogTrace($"Put {putBody.BodyName} invoked"); Domain.Body Body = await BodyBL.Create(putBody); return(Body); }
public async Task <Domain.Body> Patch(BodyModel putBody) { Logger.LogTrace($"Patch {putBody.BodyName} invoked"); Domain.Body Body = await BodyBL.Update(putBody); return(Body); }
public async Task <Domain.Body> GetSpecific(string bodyName) { Logger.LogTrace($"Get {bodyName} invoked"); Domain.Body Body = await BodyBL.Read(new BodyModel { BodyName = bodyName }); return(Body); }