public static CallbackAspDotNetMvc.Models.Call GetById(int id) { IRepository <Call> repo = new Repositories.CallRepository(); return(repo.GetById(id)); }
public static CallbackAspDotNetMvc.Models.Call GetByCall(string phoneBgn, string phoneEnd) { Repositories.CallRepository repo = new Repositories.CallRepository(); return(repo.GetByCall(phoneBgn, phoneEnd)); }