Ravinduprasath / ResturantAsp.Net-WebApi

Asp.Net core webapi crud - (Resturant 1.0)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ResturantAsp.Net-WebApi

This is the webapi version of previous asp.net mvc crud(https://github.com/Ravinduprasath/AspNetMvc-Restaurent)

  • Used Nuget Packages
    πŸ–€ Dapper 2.0.90 Or Dapper.SimpleCRUD 2.3.0
    πŸ–€ Microsoft.Data.SqlClient 3.0.0

csharp dotnet


πŸ‘“ Get foodlist - Get (https://localhost:5001/api/food)

Postman_5fTdVyQG7m



πŸ‘“ Create Order - Post (https://localhost:5001/api/order)

Postman_Uo3mUPy82B



πŸ‘“ View Order - Get (https://localhost:5001/api/order/13005)

Postman_Y7046mKp9a



πŸ‘“ Update Order - Put (https://localhost:5001/api/order)

Postman_1FptRyLk6q

Updated Order

Postman_XlW7g4Gx7l



πŸ‘“ Delete Order - Delete (https://localhost:5001/api/order/13005)

Postman_g4oMiRuoD5



Sql Data Base

  1. Restore FoodDatabase.bak Using SSMS
  2. Change Connection String In DataLibrary -> DataAccess -> GetCon()

About

Asp.Net core webapi crud - (Resturant 1.0)


Languages

Language:C# 100.0%