private async Task <Response> SaveOrUpdate(Brave model) { var actual = await _dispatcher.ExecuteAsync <Brave, int>(model); return(Response.AsJson(actual)); }
public async Task <int> SaveOrUpdateBrave(Brave brave) { return(await _dispatcher.ExecuteAsync <Brave, int>(brave)); }