public string EditEmployeeDetails([FromBody] Employee employee)
        {
            Task <HttpResponseMessage> ResponseFromTask = _httpClientService.HttpClient().PutAsJsonAsync(_apiHelperService.GetEditEmpoyeeUrl(employee.id), employee);

            ResponseFromTask.Wait();
            HttpResponseMessage result = ResponseFromTask.Result;

            if (result.IsSuccessStatusCode)
            {
                Task <Employee> readTask = result.Content.ReadAsAsync <Employee>();
                readTask.Wait();

                return(HelperReturnMessages.BootstrapAlertSuccess("Employee details updated successfully!"));
            }
            return(HelperReturnMessages.BootstrapAlertFailed("Update failed, try again later."));
        }
        public string DeleteEmployee(Employee employee)
        {
            Task <HttpResponseMessage> ResponseFromTask = _httpClientService.HttpClient().DeleteAsync(_apiHelperService.GetDeleteEmpoyeeUrl(employee.id));

            ResponseFromTask.Wait();
            HttpResponseMessage result = ResponseFromTask.Result;

            if (result.IsSuccessStatusCode)
            {
                Task <Employee> readTask = result.Content.ReadAsAsync <Employee>();
                readTask.Wait();

                return(HelperReturnMessages.BootstrapAlertSuccess("Employee Deleted successfully!"));
            }
            return(HelperReturnMessages.BootstrapAlertFailed("System failure, try again later."));
        }