public ServiceResult Delete(SideAffect n) { if (n == null || string.IsNullOrWhiteSpace(n.UUID)) { return(ServiceResponse.Error("Invalid account was sent.")); } SideAffectManager SideAffectManager = new SideAffectManager(Globals.DBConnectionKey, this.GetAuthToken(Request)); return(SideAffectManager.Delete(n)); }
public ServiceResult Delete(SideAffect n) { if (n == null || string.IsNullOrWhiteSpace(n.UUID)) { return(ServiceResponse.Error("Invalid account was sent.")); } SideAffectManager SideAffectManager = new SideAffectManager(Globals.DBConnectionKey, Request.Headers?.Authorization?.Parameter); return(SideAffectManager.Delete(n)); }