// GET api/<controller>
        public async Task <IEnumerable <LetterOwnerDtoWithPicture> > Post([FromBody] UserWithBranchesDto dto)
        {
            var branchDtos = await BranchService.GetBranchDtos(dto.BranchIds);

            var user = new UserDto()
            {
                Id = dto.UserId
            };

            return(await LetterOwnerService.GetOwnersWithPicture(user, branchDtos));
        }
 public async Task <IEnumerable <OwnerFolderDto> > Post([FromBody] dtos.LetterOwnerDto dto)
 {
     return(await LetterOwnerService.GetArchiveFolders(dto.OwnerId));
 }