public ActionResult Edit(int id)
        {
            var entity = _bussinessPartner.Find(id);

            //check if entity exists in db
            if (entity == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest, "Bad Request"));
            }
            //project the entity in view model
            var model = new BusinessPartnerDetailsView()
            {
                Email       = entity.Email,
                Name        = entity.Name,
                PhoneNumber = entity.PhoneNumber,
                Id          = entity.Id
            };

            return(View(model));
        }