public async Task <IHttpActionResult> delete([FromBody] BILL_GRID_COLUMNSVM entity) { var result = await billGridColumnsService.DeleteAsync(entity); //await LogData(null,entity.BILL_GRID_ID.ToString()); return(Ok(result)); }
public async Task <IHttpActionResult> add([FromBody] BILL_GRID_COLUMNSVM entity) { var result = await billGridColumnsService.InsertAsync(entity); //await LogData(null,result.ToString()); if (result != 0) { return(Ok(true)); } return(Ok(false)); }