public ResponseViewModel GetPermits() { var result = _permitService.GetPermits().Select(_mapper.Map <Permit, PermitViewModel>); return(Ok(result)); }