-
-
Save Pownraj-2818/a06a6e387d292b95b5f086d24865fcf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task Create(SubTeamRequestModel model) | |
{ | |
SubTeam newSubTeam = _mapper.Map<SubTeam>(model); | |
_context.SubTeams.Add(newSubTeam); | |
await _context.SaveChangesAsync(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment