Exemplo n.º 1
0
 public CameraView Get(int id)
 {
     using (var session = sessionFactory.CreateForEmployee())
     {
         return(MapToView(cameraRepository.Get(session, id)));
     }
 }