Example #1
0
        public EmployeeResponce GetAllEmployee()
        {
            var responce = new EmployeeResponce();

            responce.JsonResult = JsonConvert.SerializeObject(employeeDAC.GetAllEmployee());
            return(responce);
        }
        public List <EmployeeVO> GetAllEmployee()
        {
            EmployeeDAC dac = new EmployeeDAC();

            return(dac.GetAllEmployee());
        }