コード例 #1
0
        public ApplicationRoleDTO Post([FromBody] RoleAccessMappingRequest data)
        {
            ApplicationRole current = ApplicationRole.NewApplicationRole();

            data.Role.UpdatedBy = CurrentUserID;

            current.CustomSave(data);

            return(ApplicationRole.GetByApplicationRoleID(current.ApplicationRoleID).CurrentDTO);
        }