public async System.Threading.Tasks.Task <IHttpActionResult> GetLotPhotoByNumberAsync(int lotId, int photoNumber)
 {
     try
     {
         return(Ok(mapper.Map <LotPhotoModel>(await lotPhotosOperationsHandler
                                              .GetLotPhotoByPositionAsync(lotId, photoNumber))));
     }
     catch (WrongIdException ex)
     {
         return(Content(HttpStatusCode.NotFound, ex.Message));
     }
     catch (WrongModelException ex)
     {
         return(Content(HttpStatusCode.NotFound, ex.Message));
     }
     catch (Exception ex)
     {
         return(InternalServerError(ex));
     }
 }