Esempio n. 1
0
 public ActionResult <bool> IsItemLocked(Guid itemId)
 {
     try
     {
         return(Ok(_lockService.IsItemLocked(itemId)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.GetBaseException().Message));
     }
 }