public BreedBLL BreedFindByID(int BreedID) { BreedBLL proposedReturnValue = null; try { BreedDAL item = _dalcont.BreedFindbyID(BreedID); if (item != null) { proposedReturnValue = new BreedBLL(item); } } catch (Exception ex) { Logger.Logger.Log(ex); } return(proposedReturnValue); }
public List <BreedBLL> BreedGetAll(int Skip, int Take) { List <BreedBLL> proposedRV = new List <BreedBLL>(); try { List <BreedDAL> items = _dalcont.BreedGetAll(Skip, Take); foreach (BreedDAL item in items) { BreedBLL correctedItem = new BreedBLL(item); proposedRV.Add(correctedItem); } } catch (Exception ex) { Logger.Logger.Log(ex); } return(proposedRV); }