public PagedElements<PersonalAccountwaterDTO> Query(DateTime beginDate, DateTime endDate, Guid userId, PagerQuery pager)
        {
            var water = _personalAccountWaterRepository.Query(beginDate, endDate, userId, pager);

            List<PersonalAccountwaterDTO> elements = new List<PersonalAccountwaterDTO>();
            water.Elements.ToList().ForEach(t => elements.Add(Mapper.Map<PersonalAccountwaterDTO>(t)));
            PagedElements<PersonalAccountwaterDTO> result = new PagedElements<PersonalAccountwaterDTO>(
                elements,
                water.TotalElements);

            return result;
        }
 public PagedElements<PersonalAccount> Query(PagerQuery pager)
 {
     return _personalAccountRepository.Query(pager);
 }
        public PagedElements<PublicAccount> Query(PagerQuery pager)
        {
            var result = _publicAccountRepository.Query(pager);

            return result;
        }
        public PagedElements<SalaryDTO> Query(Guid userId, int year, PagerQuery pager)
        {
            var salarys = _salaryRepository.Query(userId, year, pager);

            return QueryToDTO<Salary, SalaryDTO>(salarys);
        }
        public PagedElements<CategoryDTO> Query(CategoryType type, PagerQuery pager)
        {
            var result = _categoryRepository.Query(type, pager);

            return QueryToDTO<Category, CategoryDTO>(result);
        }