public IHttpActionResult DetachOperatorwisedrivervehicleattachedlist(OperatorWiseDriverVehicleAttachedTodayList operatorWiseDriverVehicleAttachedTodayList) { try { var result = new OperatorBO().DetachOperatorwisedrivervehicleattachedlist(operatorWiseDriverVehicleAttachedTodayList); if (result == true) { return(Ok(new { Status = UTILITY.SUCCESSMESSAGE })); } else { return(Ok(new { Status = UTILITY.FAILEDMESSAGE })); } } catch (Exception ex) { return(InternalServerError(ex)); } }
public bool DetachOperatorwisedrivervehicleattachedlist(OperatorWiseDriverVehicleAttachedTodayList item) { return(operatorDAL.DetachOperatorwisedrivervehicleattachedlist(item)); }