https://github.com/lucasbailo/back-end-api-produtos
Back-end for "API Produtos" - Asp.Net Core Web API, Entity Framework and Sql Server
https://github.com/lucasbailo/back-end-api-produtos
api asp-net-core crud-api csharp dotnet entity-framework-core sql
Last synced: about 1 month ago
JSON representation
Back-end for "API Produtos" - Asp.Net Core Web API, Entity Framework and Sql Server
- Host: GitHub
- URL: https://github.com/lucasbailo/back-end-api-produtos
- Owner: lucasbailo
- Created: 2024-11-18T21:55:43.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-19T02:42:31.000Z (over 1 year ago)
- Last Synced: 2025-02-10T09:42:03.778Z (over 1 year ago)
- Topics: api, asp-net-core, crud-api, csharp, dotnet, entity-framework-core, sql
- Language: C#
- Homepage:
- Size: 14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Welcome to a Asp.Net (C#) Project! 👋
# Backend for API Produtos
## Some code that I'm proud of
```csharp
[HttpPut("{id}")]
public async Task PutProduto(int id, ProdutoClass produto)
{
if (id != produto.ID)
{
return BadRequest();
}
_produtoClassContext.Entry(produto).State = EntityState.Modified;
try
{
await _produtoClassContext.SaveChangesAsync();
}
catch (DbUpdateConcurrencyException)
{
throw;
}
return Ok();
}
```
## Built with
- `C#`
- `Asp.Net Core Web API`
- `Entity Framework`
- `Sql Server`
## You Can
- Use local database;
- Use all CRUD functions;
- Connect with front-end.
## Front-End repository: [See Front-End!](https://github.com/lucasbailo/front-end-api-produtos)
## Author
- Website - [My GitHub](https://github.com/lucasbailo)
- Frontend Mentor - [@lucasbailo](https://www.frontendmentor.io/profile/lucasbailo)
- Instagram - [@lucassbailo](https://www.instagram.com/lucassbailo/)
- LinkedIn - [Lucas Bailo](https://www.linkedin.com/in/lcsbailo)