public bool DeleteItem(ItemFilter filter) { try { Database db = DatabaseFactory.CreateDatabase("DbConnection"); int currentDate = 0; int currentTime = 0; Common.GetCurrentDateTime(out currentDate, out currentTime); BillingDAL.DeleteItem(db, filter.ItemID, filter.UserID, currentDate, currentTime); return(true); } catch (Exception ex) { Common.LogException(ex); throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError); } }