using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Login; using PayRollDAL.CustomeCode.Calendar; namespace PayRollBLL.Calendar { public class CalendarBLL : ICalendarBLL { private readonly ICalendarDAL _calendarDAL; public CalendarBLL(ICalendarDAL calendarDAL) { _calendarDAL = calendarDAL; } public async Task GetCalendarInfo( int EmployeeId, int EmployeeLevel, string FromDate, string ToDate, bool ShowAllEmployees, LoginDTO LoginDTO) { try { return await _calendarDAL.GetCalendarInfo( EmployeeId, EmployeeLevel, FromDate, ToDate, ShowAllEmployees, LoginDTO); } catch (Exception) { throw; } } } }