/// <summary> /// This method will fetch records of seats from Data acess layer and return to UI layer. /// </summary> /// <returns>list</returns> public BusinessEntities.RaveHRCollection GetSeatDetails(BusinessEntities.SeatAllocation Section) { try { //instantiate SeatAllocation object of data layer objSeatAllocation = new Rave.HR.DataAccessLayer.SeatAllocation.SeatAllocation(); raveHRCollection = objSeatAllocation.GetSeatDetails(Section); return(raveHRCollection); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASSNAME, GETSEATDETAILS, EventIDConstants.RAVE_HR_SEATALLOCATION_PRESENTATION_LAYER); } }