Exemple #1
0
        public bool DeleteUser(UserFilter filter)
        {
            try
            {
                Database db = DatabaseFactory.CreateDatabase("DbConnection");

                int currentDate = 0;
                int currentTime = 0;
                Common.GetCurrentDateTime(out currentDate, out currentTime);

                BillingDAL.DeleteUser(db, filter.SelectedUserID, filter.UserID, currentDate, currentTime);
                return(true);
            }
            catch (Exception ex)
            {
                Common.LogException(ex);
                throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError);
            }
        }