public int EmployeNumber() { IServiceResources serviceResource = new ServiceResources(); int employe = serviceResource.GetAll().Where(x => x.type == "Employee").Count(); return(employe); }
public int FreelancerNumber() { IServiceResources serviceResource = new ServiceResources(); int pigiste = serviceResource.GetAll().Where(x => x.type == "Freelancer").Count(); return(pigiste); }