internal async Task <Restroom> GetRestroomAsync(int restroomId) { Entity.Contact contact = null; var restroomD = await RestroomUnitOfWork.GetRestroomAsync(restroomId); if (restroomD != null && restroomD.ContactId.HasValue) { contact = RestroomUnitOfWork.GetById <Entity.Contact, int>(restroomD.ContactId.Value); } return(restroomD == null ? null : Restroom.FromDataAccess(restroomD, contact)); }