public async Task <ObservableCollection <Employee> > GetEmployees(string filter)
        {
            var ret = new ObservableCollection <Employee>();

            foreach (var e in await Post <string, ObservableCollection <DtoEmployee> >("GetEmployees", filter))
            {
                ret.Add(EmployeeConverter.DtoToViewModel(e));
            }
            return(ret);
        }
 public async Task <Employee> GetEmployee(int id)
 {
     return(EmployeeConverter.DtoToViewModel(await Post <int, DtoEmployee>("GetEmployee", id)));
 }