Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tsi1-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rodrigo Sastre Marotta
tsi1-backend
Commits
ba5a4c3e
Commit
ba5a4c3e
authored
4 years ago
by
esantangelo
Browse files
Options
Downloads
Patches
Plain Diff
user types ids
parent
98bab670
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#10710
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tsi1.Api/Tsi1.BusinessLayer/DataLoad/DataLoad.cs
+4
-0
4 additions, 0 deletions
Tsi1.Api/Tsi1.BusinessLayer/DataLoad/DataLoad.cs
with
4 additions
and
0 deletions
Tsi1.Api/Tsi1.BusinessLayer/DataLoad/DataLoad.cs
+
4
−
0
View file @
ba5a4c3e
...
...
@@ -95,24 +95,28 @@ namespace Tsi1.BusinessLayer.DataLoad
// USER TYPES
var
udelarAdminUserType
=
new
UserType
{
Id
=
2
,
Name
=
UserTypes
.
UdelarAdmin
,
};
_context
.
Add
(
udelarAdminUserType
);
var
facultyAdminUserType
=
new
UserType
{
Id
=
1
,
Name
=
UserTypes
.
FacultyAdmin
,
};
_context
.
Add
(
facultyAdminUserType
);
var
professorUserType
=
new
UserType
{
Id
=
3
,
Name
=
UserTypes
.
Professor
,
};
_context
.
Add
(
professorUserType
);
var
studentUserType
=
new
UserType
{
Id
=
4
,
Name
=
UserTypes
.
Student
,
};
_context
.
Add
(
studentUserType
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment