Ejemplo n.º 1
0
        public async Task<WorkTaskUser> GetWithContactsAsync(int id)
        {
            var specification = new UserWithContactsSpecification(id);

            return await FirstAsync(specification);
        }
Ejemplo n.º 2
0
        public async Task<WorkTaskUser> GetByMailAsync(string mail)
        {
            var specification = new UserWithContactsSpecification(mail);

            return await FirstAsync(specification);
        }
Ejemplo n.º 3
0
        public WorkTaskUser GetWithContacts(int id)
        {
            var specification = new UserWithContactsSpecification(id);

            return First(specification);
        }