public ActionResult Delete(Guid id)
        {
            try
            {
                string titleId = string.Empty;

                titleId = titleRepository.DeleteTitle(id, LogInManager.LoggedInUserId);

                if (!string.IsNullOrWhiteSpace(titleId))
                {
                    return(Json(new
                    {
                        IsSuccess = true,
                        data = new
                        {
                            TitleId = titleId
                        }
                    }, JsonRequestBehavior.AllowGet));
                }
                else
                {
                    return(Json(new
                    {
                        IsSuccess = false,
                        errorMessage = "Title details not deleted successfully."
                    }, JsonRequestBehavior.AllowGet));
                }
            }
            catch (Exception e)
            {
                Utility.Utility.LogError(e, "Delete");
                return(Json(new { IsSuccess = false, errorMessage = e.Message }));
            }
        }