public List <AgingBatch> AgingBatcInfo(AgingBatch agingBatch) { try { ISelectingCommon iDataAccessSelect = new DALGetCommonSelecting(); return(iDataAccessSelect.AgingBatcInfo(agingBatch)); } catch (Exception ex) { throw ex; } }
public bool InsertAgingBatchStatus(AgingBatch batchesult) { try { _entity.AgingBatch.Add(batchesult); _entity.SaveChanges(); } catch (Exception ex) { throw ex; } return(true); }
public List <AgingBatch> AgingBatcInfo(AgingBatch agingBatch) { var agingBatchList = new List <AgingBatch>(); try { agingBatchList = _CommonManager.AgingBatcInfo(agingBatch); } catch (Exception ex) { } return(agingBatchList); }
public Result InsertAgingBatchStatus(AgingBatch batchesult) { IProduction iProductionSelect = new WCMS_DAL_Production(); var result = new Result(); try { result.IsSuccess = iProductionSelect.InsertAgingBatchStatus(batchesult); } catch (Exception ex) { throw ex; } return(result); }
public Result InsertAgingBatchStatus(AgingBatch batchesult) { try { return(productionManager.InsertAgingBatchStatus(batchesult)); } catch (Exception ex) { //if (log.IsErrorEnabled) // log.Error("Insert Sales Order : " + ex.Message); return(new Result { IsSuccess = false, Message = ex.Message }); } }
public List <AgingBatch> AgingBatcInfo(AgingBatch agingBatch) { List <AgingBatch> list; try { list = _wcmsEntities.AgingBatch .WhereIf(agingBatch.Passed != null, x => x.Passed == agingBatch.Passed) .WhereIf(agingBatch.BatchNumber != null, x => x.BatchNumber == agingBatch.BatchNumber) .AsNoTracking().ToList(); } catch (Exception ex) { throw ex; } return(list); }