// POST: api/ReferedBy
        public IHttpActionResult Post(ReferedBy referedBy)
        {
            if (AddRefBy(referedBy) == true)
                return Ok();
            else
                return BadRequest();

        }
 public bool AddRefBy(ReferedBy referedBy)
 {
     return du.AddRow(@"insert into ReferedBy(  RefID ,    Name ,   ContactNumber)
     values(" + referedBy.RefID + ", '" + referedBy.Name + "', '" + referedBy.ContactNumber + "')");
 }