Example #1
0
        public async Task <ActionResult <Organization> > DeleteAOrg([FromRoute] int id)
        {
            var response = await orgRepository.DeleteAOrg(id);

            var viewModel = mapper.Map <Organization>(response);

            return(Ok(viewModel));
        }