Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. public interface IEmployeeService
  2. {
  3. int CreateEmployee(CreateEmployeeDto data);
  4. IEnumerable<EmployeeListDto> GetEmployeeList();
  5.  
  6. }
  7. public class EmployeeService : IEmployeeService
  8. {
  9. }
  10.  
  11. [AbpMvcAuthorize]
  12. public class EmployeeController : HRISControllerBase
  13. {
  14.  
  15.  
  16. private readonly IEmployeeService _employeeService;
  17.  
  18. public EmployeeController(
  19. IEmployeeService employeeService
  20. )
  21. {
  22.  
  23. _employeeService = employeeService;
  24. }
  25.  
  26. public ActionResult Index()
  27. {
  28. return View();
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement