April 2017
Intermediate to advanced
564 pages
24h 7m
English
The interface for the Employee Manager class looks like this:
namespace Applications.BusinessLogic.Managers { public interface IEmployeeManager : IBusinessManager { int GetTotalNumberOfEmployees(); /// <summary> /// Adds the new employee into the DB /// </summary> /// <returns></returns> Employee AddNewEmployee(Employee newEmployee); void RemoveAnEmployee(Employee newEmployee); /// <summary> /// Gets the List of All Employees eventually from data source /// </summary> /// <returns></returns> IEnumerable<Employee> GetListofAllEmployees(); Employee GetAnEmployee(int employeeId); } }
Let's look at the implementation code, which is as written as follows:
public class EmployeeManager : IEmployeeManager ...
Read now
Unlock full access