public FaxFromName GetFromName()
        {
            FaxFromName fromName = new FaxFromName();
            string userName = "******";
            try
            {
                using (SqlConnection db = new SqlConnection(Database.WaldenFaxing))
                {
                    string query = "SELECT FromName"
                        + " FROM [FromName]"
                        + " where [UserName] = @UserName";

                    fromName = db.Query<FaxFromName>(query, new { @UserName = userName }).Single();
                    return fromName;
                }
            }
            catch (Exception er)
            {
                Log.LogMessage(er.ToString());
                return fromName;
            }
        }
 // POST api/fromname
 //public void Post([FromBody]Customer customer)
 public IHttpActionResult Post(FaxFromName fromName)
 {
     faxing.UpdateFromName(fromName.FromName);
     return Ok();
 }