public static List<User> GetContacts(int uId, string password)
        {
            User t = new User();
            t.Id = 1;
            t.Login = "******";
            List<User> result = new List<User>();
            result.Add(t);
            
            t = new User();
            t.Id = 2;
            t.Login = "******";
            result.Add(t);

            return result;
        }
 public static User GetUserById(int uId, string password, int idForSearch)
 {
     User t=new User();
     t.Login="******";
     t.Id=idForSearch;
     Company c = new Company();
     c.Name = "Sony";
     c.Id = 17;
     User u = new User(t,null,null,null,null,c);
     return u;
 }
 public static SearchResult Search(int uId, string passwordHash, string keyWord)
 {
     var t = new SearchResult();
     Company c = new Company();
     c.Name = "jacobs";
     t.Companies.Add(c);
     User tuser = new User();
     tuser.Login = "******";
     tuser.Id = 147;
     t.Users.Add(new User(tuser, null, null, null, null, null));
     Vacancy v = new Vacancy();
     v.AuthorName = "Подколзин Андрей Юрьевич";
     v.Description = "Being an amazing combination of professionalism, creativity, inspiration and success Just Eat features as the biggest online takeaway marketplace in the world!";
     v.MinPay = 1000; 
     v.Name = "Being an amazing combination";
     v.MaxPay = int.MaxValue;
     t.Vacancies.Add(v);
     return t;
 }
 public static User GetUserByLogin(int uId, string password, string userLoginForFind)
 {
     User t=new User();
     t.Login="******";
     return new User(t, null, null, null, null, null);
 }
        public static List<CompanyManager> GetCompanyManagers(int uId, string password, int companyId)
        {
            List<CompanyManager> result = new List<CompanyManager>();
            User t=new User();
            t.Login="******";

            result.Add(new CompanyManager(t));
            return result;
        }
 public CompanyManager(User manager)
 {
     _manager = manager;
 }