public async Task <bool> DeleteReplicateMaterialAsync(DeleteReplicateMaterialRequestArgs requestArgs) { await DbContext.ExecuteNonQueryAsync(DataConstants.PR_DELETE_REPLICATED_MATERIAL, CommandType.StoredProcedure, args => { args.Add("@TestID", requestArgs.TestID); args.Add("@MaterialID", requestArgs.MaterialID); args.Add("@WellID", requestArgs.WellID); }); return(true); }
public async Task <bool> DeleteReplicateMaterialAsync(DeleteReplicateMaterialRequestArgs requestArgs) { return(await repository.DeleteReplicateMaterialAsync(requestArgs)); }
public async Task <IHttpActionResult> DeleteReplicateMaterial([FromBody] DeleteReplicateMaterialRequestArgs requestArgs) { var result = await materialService.DeleteReplicateMaterialAsync(requestArgs); return(Ok(result)); }