public IHttpActionResult Delete(Foto foto)
 {
     try
     {
         var mng = new FotoManager();
         mng.Delete(foto);
         apiResp = new ApiResponse();
         return(Ok(apiResp));
     }
     catch (BussinessException bex)
     {
         return(InternalServerError(new Exception(bex.ExceptionId + "-" + bex.AppMessage.Message)));
     }
 }
 public IHttpActionResult Get(string idEntidad)
 {
     try
     {
         var mng  = new FotoManager();
         var foto = new Foto
         {
             IdEntidad = idEntidad
         };
         apiResp      = new ApiResponse();
         apiResp.Data = mng.RetrieveAllById(foto);
         return(Ok(apiResp));
     }
     catch (BussinessException bex)
     {
         return(InternalServerError(new Exception(bex.ExceptionId + "-" + bex.AppMessage.Message)));
     }
 }