Inserting Record in DB using ANgular Ajax,webapiWEB API insert Method=================================================== // POST: api/Employee [ResponseType(typeof(Employee))] public IHttpActionResult PostEmployee(Employee employee) { if (!ModelState.IsValid) ...
Friday, 10 February 2017
Tags
Continue Reading
Wednesday, 25 January 2017
WebAPI Controller
using System;
using
System.Collections.Generic;
using System.Data;
using
System.Data.Entity;
using
System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using
System.Net.Http;
using
System.Web.Http;
using
System.Web.Http.Description;
using
AngularDemo1.Model;
namespace
AngularDemo1.Controllers
{
public class EmployeeController :
ApiController
{
...
Tags
Continue Reading