public Response RemoveMarker(MarkerRequest markerRequest) { try { _dalMarker.RemoveMarker(markerRequest); return(new ResponseDelMarker()); } catch { return(new ResponseErr()); } }
public Response RemoveMarker(RemoveMarkerRequest request) { try { _dal.RemoveMarker(request.MarkerId); MessageRequest msg = new MessageRequest(request.UserId, request.DocId, "markersUpdated"); _wsService.Send(msg); var retval = new RemoveMarkerResponseOK(request.MarkerId); return(retval); } catch (Exception ex) { return(new ResponseError(ex.Message)); } }