/// <summary>
        /// Save Countrys
        /// </summary>
        /// <param name="CountryList"></param>
        /// <returns></returns>
        // POST: api/Country
        public IHttpActionResult Post([FromBody] List <Franchise> FranchiseList)
        {
            FranchiseRepository FranchiseRepository = new FranchiseRepository(Convert.ToInt32(Request.Headers.GetValues("CurrentUserID").First()));

            FranchiseRepository.SaveFranchises(FranchiseList);

            return(Json(new { count = FranchiseList.Count.ToString() }));
        }