Example #1
0
 /// <summary>
 /// Gets the employee by role.
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public async Task <List <Employee> > GetEmployeeByRole(string id)
 {
     return(await dbContext.GetEmployeeByRole(id));
 }