Пример #1
0
        public async Task <Volunteer> GetVolunteerByIdAsync(string id)
        {
            var item = await Volunteers.SingleOrDefaultAsync(v => v.Id == Convert.ToInt32(id));

            return(mapper.Map <Volunteer>(item));
        }