Exemple #1
0
        public string SaveFleet(FleetModal Modal)
        {
            if (Modal.CallType == null)
            {
                Modal.CallType = "Portal";
            }

            try
            {
                if (_businessInstance.SaveFleet(Modal.Fleet, Modal.Documents, Modal.CallType))
                {
                    return("Data Saved Successfully.");
                }
            }
            catch (Exception ex)
            {
                return(ex.Message);
            }

            return("Oops");
        }