-
-
Save JohannesSundqvist/7c6c5dade4b308d00873923753d0fa20 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
using (var _context = new DataContext()) | |
{ | |
var query = new Customer | |
{ | |
Name = name, | |
WorkDescription = description, | |
}; | |
_context.Customers.Update(query); | |
_context.SaveChanges(); | |
return query; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment