コード例 #1
0
        public BaseResponse DeleteRolesOfUser(ComplexUserRole model)
        {
            BaseResponse response = new BaseResponse();

            try
            {
                _aspNetUserRolesRepository.DeleteMulti(x => x.UserId == model.UserId);
                try
                {
                    _applicationLoggingRepository.Log("EVENT", "DELETE", "AspNetUserRoles", model.UserId, "", "", model, "", System.Web.HttpContext.Current.Request.UserHostAddress, model.CreatedBy);
                }
                catch
                { }
            }
            catch { }
            return(response);
        }
コード例 #2
0
 public BaseResponse DeleteRolesOfUser(ComplexUserRole model)
 {
     return(_systemService.DeleteRolesOfUser(model));
 }